class Date{
	private int dyear;
	private int dmonth;
	private int dday;
	public Date(){
		
	}
	public Date(int dyear,int dmonth,int dday){
		this.dyear=dyear;
		this.dmonth=dmonth;
		this.dday=dday;
	}
	public int getDyear(){
		return dyear;
	}
	public void setDyear(int dyear){
		this.dyear=dyear;
	}
	public int getmonth(){
		return dmonth;
	}
	public void setDmonth(int dmonth){
		this.dmonth=dmonth;
	}
	public int getDday(){
		return dday;
	}
	public void setDday(int dday){
		this.dday=dday;
	}
	public String toString(){
		return this.dyear+"-"+this.dmonth+"-"+this.dday;
	}
}